// cover some element-ui styles
.el-empty__description {
  margin-top: 0 !important;
}

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type='file'] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse > div > .el-submenu > .el-submenu__title .el-submenu__icon-arrow {
  display: none;
}

.el-dropdown .el-dropdown-link {
  color: var(--el-color-primary) !important;
}

.el-dialog.plus-dialog {
  padding-left: 0px;
  padding-right: 0px;
  --dialog-padding-left: 20px;
  --dialog-padding-right: 20px;
  --dialog-header-padding-bottom: 10px;
  --dialog-body-padding-top: 20px;
  --dialog-footer-padding-top: 10px;

  .el-dialog__headerbtn {
    top: 3px;
  }

  .el-dialog__header {
    border-bottom: 1px solid var(--el-border-color);
    padding-left: var(--dialog-padding-left);
    padding-right: var(--dialog-padding-right);
    padding-bottom: var(--dialog-header-padding-bottom);
  }

  .el-dialog__body {
    padding-left: var(--dialog-padding-left);
    padding-right: var(--dialog-padding-right);
    padding-top: var(--dialog-body-padding-top);
  }

  .el-dialog__footer {
    padding-top: var(--dialog-footer-padding-top);
    padding-left: var(--dialog-padding-left);
    padding-right: var(--dialog-padding-right);
  }

  // 当dialog有footer的时候
  //&:has(.el-dialog__footer) {
  //}
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--el-bg-color) inset;
  -webkit-text-fill-color: var(--el-input-text-color); /*自动填充内容的文本颜色*/
  transition: background-color 5000s ease-in-out 0s;
}

.el-table__body tr.current-row > td.el-table__cell {
  --el-table-current-row-bg-color: var(--el-bg-color-overlay);
}

//============================plus-pro-component
.plus-dialog-body{
  .el-card__body{
    padding-bottom: 0!important;
  }
}
